Yesterday, I posted this..
http://www-10.lotus.com/ldd/nd6forum.nsf/DateAllThreadedweb/0a57dd2311421bc585256e09001faa07?OpenDocument
However, I'm seeing that the problem is bigger than just what I have described above. I still don't have a clue how to deal with the problem.
I'm going to first describe what I have, then, what I need!
I have a form with a few fields on it. When I look at the info box, I see these fields
$$Return, Data Type: Text
$FILE, Data Type: Attached Object
$UpdatedBy, Data Type: Text List
$V2AttachmentOptions, Data Type: Text contents "0"
DbName, Data Type: Text, Formula: @WebDbName
FileName, Data Type: Text, Formula: @AttachmentNames
Form, Data Type: Text, Contents: "MyFormName"
In addition, I have a File Upload Control so that web users can attach a file.
What I need is the following:
1) From WebQuerySave I call an agent that should detach the file,
2) then I want to read the detached .csv file, and create documents with the data from the csv.
3) I need to delete the file from the server OS.
I'm doing this in Java, and I have much of the processing code written. This works. Needless to say, the code has become quite involved.
Here are my questions.
1) Because I don't have an RTF on the page where we "hold" the file, how can I detach the file?
2) I've tried a few of the snippets of Java Code that allow me to determine what kind of embedded object it is, however, it looks like I (again) have to access it through an RTF object. Any other Ideas how I could code this?
3) Would there be an easier way for users to send me their files? Some of these files will get quite large. Email is out of question.
Help!
Marcus